﻿using System.ComponentModel.DataAnnotations;

namespace Ch12.Models
{
    /// <summary>
    /// 房屋类型
    /// </summary>
    public enum HouseProperties
    {
        /// <summary>
        /// 未指定
        /// </summary>
        [Display(Name = "未指定")]
        None = 0,
        /// <summary>
        /// 住宅
        /// </summary>
        [Display(Name = "住宅")]
        Residence = 1,
        /// <summary>
        /// 商业
        /// </summary>
        [Display(Name = "商业")]
        Business = 2,
        /// <summary>
        /// 别墅
        /// </summary>
        [Display(Name = "别墅")]
        Villa = 3,
        /// <summary>
        /// 办公/写字楼
        /// </summary>
        [Display(Name = "办公/写字楼")]
        Office = 4,
        /// <summary>
        /// 仓储
        /// </summary>
        [Display(Name = "仓储")]
        Storage = 5,
        /// <summary>
        /// 车库/车位
        /// </summary>
        [Display(Name = "车库/车位")]
        Garage = 6,
        /// <summary>
        /// 公共配套用房
        /// </summary>
        [Display(Name = "公共配套用房")]
        PublicEstablishments = 7,
        /// <summary>
        /// 物业用房
        /// </summary>
        [Display(Name = "物业用房")]
        PropertyHousing = 8,
        /// <summary>
        /// 商住
        /// </summary>
        [Display(Name = "商住")]
        ResidenceAndBusiness = 9,
        /// <summary>
        /// 其他类型
        /// </summary>
        [Display(Name = "其他类型")]
        Other = 99
    }
}